<idea-plugin>

    <!-- Unique id for this plugin. Must stay constant for the life of the plugin. -->
    <id>RADioMANiac</id>

    <!-- Text to display as name on Settings | Plugin page -->
    <name>RadMan</name>

    <!-- Product and plugin compatibility requirements -->
    <depends>com.intellij.modules.platform</depends>

    <!-- Text to display as description on Settings | Plugin page -->
    <description>
        <![CDATA[
      RADioMANiac allows to get url radio stations from https://www.radio-browser.info/ by genre and then play them in the IDE's editor.
    ]]>
    </description>
    <change-notes>
        <![CDATA[
      <ul>
      <li><b>2.6.0</b> Action added: RadMan Help</li>
      <li><b>2.5.0</b> Added search in Playing Info panel. Functions: mute\unmute via ALT+SHIFT+1</li>
      <li><b>2.4.0</b> Action added: Move To First</li>
      <li><b>2.3.0</b> Artist and song info added to Playing Info panel</li>
      <li><b>2.2.2</b> Fixing bug ListProcessing group visibility</li>
      <li><b>2.2.1</b> Fixing bug with AAC+ via changing Jaad to javasound-aac</li>
      <li><b>2.2.0</b> ProcessedList with actions added</li>
      <li><b>2.1.0</b> Actions added: Delete bad urls</li>
      <li><b>2.0.1</b> Actions added: CheckUrl & Delete</li>
      <li><b>1.0.0</b> Release</li>
      </ul>
    ]]>
    </change-notes>

    <!-- Text to display as company information on Settings | Plugin page -->
    <vendor url="https://github.com/alexeynovosibirsk">Alexey Nazarov</vendor>

    <actions>
        <action id="com.nazarov.radman.action.HelpAction"
                class="com.nazarov.radman.action.HelpAction"
                text="RadMan Help"
                description="Open help page in Browser"
                icon="Icons.Question_icon">
            <add-to-group group-id="EditorPopupMenu" anchor="first"/>
        </action>
        <group
                id="com.nazarov.radman.action.group.ListProcessingGroup"
                class="com.nazarov.radman.action.group.ListProcessingGroup"
                text="ListProcessing"
                popup="true"
                icon="Icons.List_icon">

            <add-to-group group-id="EditorPopupMenu" anchor="first"/>

            <action
                    id="com.nazarov.radman.action.delete.DeleteByLanguage"
                    class="com.nazarov.radman.action.delete.DeleteByLanguage"
                    text="Delete By Used Lang"
                    description="Delete urls using language that you not want"
                    icon="Icons.Delete_icon">
            </action>
            <action
                    id="com.nazarov.radman.action.delete.DeleteExceptLanguages"
                    class="com.nazarov.radman.action.delete.DeleteExceptLanguages"
                    text="Delete Except Used Lang"
                    description="Delete urls EXCEPT using languages"
                    icon="Icons.Delete_icon">
            </action>
            <action
                    id="com.nazarov.radman.action.delete.DeleteByBitrate"
                    class="com.nazarov.radman.action.delete.DeleteByBitrate"
                    text="Delete By Low Bitrates"
                    description="Delete urls using bitrate lower than you want"
                    icon="Icons.Delete_icon">
            </action>
            <action
                    id="com.nazarov.radman.action.delete.DeleteNonStreamingUrlsAction"
                    class="com.nazarov.radman.action.delete.DeleteNonStreamingUrlsAction"
                    text="Delete Non Audio Urls"
                    description="Delete non audio streaming urls"
                    icon="Icons.Delete_icon">
            </action>
        </group>

        <action
                id="com.nazarov.radman.action.ViewAction"
                class="com.nazarov.radman.action.ViewAction"
                text="View in Browser"
                description="Open selected url in browser"
                icon="Icons.Browser_icon">
            <add-to-group group-id="EditorPopupMenu" anchor="first"/>
        </action>
        <action
                id="com.nazarov.radman.action.delete.DeleteAction"
                class="com.nazarov.radman.action.delete.DeleteAction"
                text="Delete Line Under Cursor"
                description="Delete string"
                icon="Icons.Delete_icon">
            <add-to-group group-id="EditorPopupMenu" anchor="first"/>
        </action>
        <action
                id="com.nazarov.radman.action.manipulation.MoveToFirst"
                class="com.nazarov.radman.action.manipulation.MoveToFirst"
                text="Move To First"
                description="Move the string to the first position"
                icon="Icons.MoveToFirst_icon">
            <add-to-group group-id="EditorPopupMenu" anchor="first"/>
        </action>
        <action
                id="com.nazarov.radman.action.PauseAction"
                class="com.nazarov.radman.action.PauseAction"
                text="Mute/Unmute"
                description="Stop playing, continue playing"
                icon="Icons.Pause_icon">
            <keyboard-shortcut
                    keymap="$default"
                    first-keystroke="alt shift 1"/>
            <add-to-group group-id="EditorPopupMenu" anchor="first"/>
        </action>
        <action id="com.nazarov.radman.action.play.PlayAction"
                class="com.nazarov.radman.action.play.PlayAction"
                text="Play"
                description="Playing selected url"
                icon="Icons.Play_icon">
            <add-to-group group-id="EditorPopupMenu" anchor="first"/>
        </action>

    </actions>


    <extensions defaultExtensionNs="com.intellij">

        <toolWindow id="Rad.Man." secondary="true" icon="Icons.Headphones_icon" anchor="bottom"
                    factoryClass="com.nazarov.radman.RadMan"/>

        <fileType
                name="RadMan File"
                implementationClass="com.nazarov.radman.color.language.RadManFileType"
                fieldName="INSTANCE"
                language="RadMan"
                extensions="rad"/>

        <lang.parserDefinition language="RadMan"
                               implementationClass="com.nazarov.radman.color.language.RadManParserDefinition"/>
        <lang.syntaxHighlighterFactory language="RadMan"
                                       implementationClass="com.nazarov.radman.color.language.RadManSyntaxHighlighterFactory"/>
        <iconProvider implementation="com.nazarov.radman.color.language.RadManPropertyIconProvider"/>
        <colorSettingsPage implementation="com.nazarov.radman.color.language.RadManColorSettingsPage"/>

    </extensions>
</idea-plugin>